package com.demos.diveinspring.configuration;

import com.demos.diveinspring.annotation.EnableHelloWorld;
import com.demos.diveinspring.condition.ConditionalOnSystemProperty;
import org.springframework.context.annotation.Configuration;

@Configuration // spring模式注解
@EnableHelloWorld // 条件注解
@ConditionalOnSystemProperty(name = "user.name", value = "Tom Xie")
public class HelloWorldAutoConfiguration {
}
